Skip to content

Fix for wrong size of message.length - #337

Open
rbarreiros wants to merge 1 commit into
FortySevenEffects:feat/v5.1.0from
rbarreiros:feat/v5.1.0
Open

Fix for wrong size of message.length#337
rbarreiros wants to merge 1 commit into
FortySevenEffects:feat/v5.1.0from
rbarreiros:feat/v5.1.0

Conversation

@rbarreiros

Copy link
Copy Markdown

Initialize message.length on first packet (don't leave it at 0) and fix for 2 packet message sizes.
I noticed that the end of message is already covered with setting message length with the mPendingMessageExpectedLength as it should, and that there's a check if the message is realtime, as send() in master branch calls getStatus() which screws up realtime midi messages (0xf8).

Comment thread src/MIDI.hpp
@rbarreiros
rbarreiros requested a review from franky47 October 22, 2023 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants